import type { Ref } from 'vue'

export interface UserStore {
  token: Ref<string | null>
  userInfo: Ref<any | null>

  setToken(value: string): void
  setUserInfo(value: any): void
  logout(): void
  login(data: any): Promise<void>
}
